package com.physique.tea.Global;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Result<T> {
    Integer code;
    String message;
    T data;

    public Result(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
